package com.thon.service.project;

import java.util.Date;

import com.thon.dao.util.Page;
import com.thon.entity.project.ProjectComment;
import com.thon.entity.project.ProjectCommentView;

/**
 * @file ProjectCommentService.java
 * @author Zemo
 * @mail zemochen@gmail.com
 * @data 2013年11月19日 上午8:54:56
 * @description: TODO
 */
public interface ProjectCommentService {
	
	public void add(ProjectComment projectComment);
	
	public void updateComment(ProjectComment projectComment);
	
	public ProjectComment getComment(Integer commentId);
	
	public Page<ProjectCommentView> findComment(String by,int id,int pageNo,int pageSize);
	
	public Long countCommentToUser(Integer isRead,Integer projectId,Integer preferention,Integer userId);

	public Page<ProjectCommentView> findMyComments(Page<ProjectCommentView> myCommentPage,Integer userId,Integer method,
			Integer pageNo, Integer pageSize);
	
}
